package com.example.mansystem.dto;

import lombok.Data;

import javax.validation.constraints.Positive;
import java.util.List;


@Data
public class ChangePermissionDto {
    @Positive(message = "角色ID为正数")
    private int roleId;
    private List<Integer> routeInsert;
    private List<Integer> routeDelete;
    private List<Integer> apiInsert;
    private List<Integer> apiDelete;
}
